﻿namespace OneWorks.Web.Common.BaiDu
{
    public static class BaiduConstParams
    {
        public const string PlaceApIv2Search = "http://api.map.baidu.com/place/v2/search";
        public const string PlaceApIv2Detail = "http://api.map.baidu.com/place/v2/detail";
        public const string PlaceApIv2Eventsearch = "http://api.map.baidu.com/place/v2/eventsearch";
        public const string PlaceApIv2Eventdetail = "http://api.map.baidu.com/place/v2/eventdetail";
        public const string GeocodingApIv2 = "http://api.map.baidu.com/geocoder/v2/";
        public const string GeocodingApIv2Reverse = "http://api.map.baidu.com/geocoder/v2/";
        public const string TranslateApi = "http://openapi.baidu.com/public/2.0/bmt/translate";
        public const string GeoconvApi = "http://api.map.baidu.com/geoconv/v1/";
    }

    public static class BaiduErrorMessages
    {
        public const string NotKey = "密钥不存在";
        public const string LackParam = "缺少必要请求参数";
    }
}
